package com.traffic.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("ots_leaderboard_pre")
@Component
public class Leaderboardpre{

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    private Long userId;

    private Long level;

    private Long score;

    private Long stationarity;

    private Long allTime;

    private Long morningTime;

    private Long afternoonTime;

    private Long eveningTime;

    private Long hisVel;

    private Long hisAcc;

    private Long hisMileage;

    private Long maxVel;

    private Long maxAcc;

    private Long maxNAcc;


}

